package daiLi.jingtaidaili;

public class SmsProxy implements SmsService{
    private final SmsService smsService;
    public SmsProxy(SmsService smsService){
        this.smsService=smsService;
    }
    @Override
    public String send(String message) {
        System.out.println("before");
        smsService.send(message);
        System.out.println("after");
        return null;
    }
}
